package com.jnsjcc.freemarker.model;

import java.util.Date;
import java.util.List;

public class TestEntity {

    private String name;
    private Date createDate;
    private boolean master;
    private String description;

    private List<ChildEntity> childList;

    public TestEntity(String name, Date createDate, boolean master, String description, List<ChildEntity> childList) {
        super();
        this.name = name;
        this.createDate = createDate;
        this.master = master;
        this.description = description;
        this.childList = childList;
    }
    
    

    public TestEntity() {
        super();
        // TODO Auto-generated constructor stub
    }



    public String getDescription() {
        return description;
    }



    public void setDescription(String description) {
        this.description = description;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public boolean isMaster() {
        return master;
    }

    public void setMaster(boolean master) {
        this.master = master;
    }

    public List<ChildEntity> getChildList() {
        return childList;
    }

    public void setChildList(List<ChildEntity> childList) {
        this.childList = childList;
    }

    @Override
    public String toString() {
        return "TestEntity [name=" + name + ", createDate=" + createDate + ", master=" + master + ", childList=" + childList
                + "]";
    }
    
    
    

  

}
